package com.sg.dto.biz.bff.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Objects;


/**
 * @desc BffTopMidBasicStepDto
 * @使用场景
 */
@Data
public class BffTopMidBasicStepDto implements Serializable {

    /**
     * 步骤ID
     */
    @ApiModelProperty("步骤ID")
    private String assistStepId;

    /**
     * 步骤名称
     */
    @ApiModelProperty("步骤名称")
    private String stepName;

    /**
     * 步骤编码
     */
    @ApiModelProperty("步骤编码")
    private String stepNameCode;

    /**
     * 编辑下“下一步”名称
     */
    @ApiModelProperty("编辑下“下一步”名称")
    private String editAssistStepName;

    /**
     * 修订下“下一步”名称
     */
    @ApiModelProperty("修订下“下一步”名称")
    private String changeAssistStepName;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        BffTopMidBasicStepDto that = (BffTopMidBasicStepDto) o;
        return assistStepId == that.assistStepId && stepName == that.stepName && stepNameCode == that.stepNameCode && editAssistStepName == that.editAssistStepName && changeAssistStepName == that.changeAssistStepName;
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), assistStepId, stepName, stepNameCode, editAssistStepName, changeAssistStepName);
    }


}
   